<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>易购GO_淘宝网女装新款_淘宝网商城_淘宝网网上购物</title>
<{assign var="layout" value="4"}>
<{include file="../site/_meta.html"}>
</head>

<body>
<{include file="../site/_top.html"}>
<div id="Container">

	<!-- header -->
	<div id="Header" class="clearfix">
		<{assign var="menu" value="user"}>
		<{include file="../site/_header.html"}>
		
		<!-- 导航模块 -->
		<div id="Locationline">
			当前位置： <a href="<{$domain}>">易购GO</a> &gt; 会员中心 &gt; 提现
		</div>
	</div>
	<!-- /header -->
	
	<!-- body -->
	<div id="Body" class="clearfix">
	
		<!-- main -->
		<div id="Wrapper">
			<div id="Main">
				<div class="content" id="userMain">
					<div class="top">提现</div>
					
					<!-- 开始 -->
					<div class="notice">
						<span class="title">特别提醒：</span>
						<span>通过提现功能，您可以将收入帐户余额转入到您绑定的支付宝帐户中。
						如果您尚未绑定支付宝帐户，请先绑定支付宝帐户。
						提现金额请输入大于等于0.01数字类型，且小数位数不能超过2位。</span>
					</div>
					
					<!-- -->
					<div class="edit_tbl">
						<form id="formPay" method="POST" action="">
							<table width="100%" cellspacing="0" cellpadding="0" border="0">
								<tr>
									<th>您当前可提现金额：</th>
									<td><i class="morehilite2"><{math equation="a" a=$account.balance format="￥%.2f"}></i></td>
								</tr>
								<tr>
									<th><span class="star_note">*</span>提现金额（元）：</th>
									<td><input type="text" class="input min" name="money"></td>
								</tr>
								<tr>
									<th>&nbsp;</th>
									<td><input type="submit" value="提取" class="button" /></td>
								</tr>
							</table>
						</form>
					</div>
				</div>
			</div>
		</div>
		<!-- /main -->
		
		<!-- sidebar -->
		<div id="SideBar"><{include file="_menu.html"}></div>
		<!-- /sidebar -->
	</div>
	<!-- /body -->
	
	<!-- footer -->
	<div id="Footer" class="clearfix"><{include file="../site/_footer.html"}></div>
	<!-- /footer -->
</div>
</body>
</html>

<!-- JS -->
<{JS}>
<script type="text/javascript">
$(document).ready(function() {
	$("#formPay").validate({
		rules: {
			money: {
				required: true,
				number: true,
				min: 0.01,
				max: <{$account.balance}>
			}
		},
		messages: {
			money: {
				required: "请输入提现金额",
				number: "输入金额类型不正确",
				min: "输入金额不正确",
				max: "输入金额超出当前可提现金额"
			}
		},
		submitHandler: function() {
			form.submit();
			///
			return false;
		}
	});
});
</script>
